package designPattern.factory.factoryMethod;

import designPattern.factory.simple.SimpleFactory;
import org.slf4j.ILoggerFactory;

public class test {
    public static void main(String[] args) {
        ICourseFactory factory = new JavaCourseFactory();
//        ICourse course = factory.create("java");
        ICourse course = factory.create();
        course.record();

    }
}